
<html>
  <head>
    <title>所有邮件</title>
    <meta http-equiv="content-type" content="text/php;charset=utf-8">
    <script type="text/javascript">
    	function del(ID)
    	{
    		if(confirm("确认删除？"))
    		{
    			window.location="__APP__/Index/delete/ID/"+ID;
    		}
    	}
    </script>
  </head>
  <body>
  	<include file="Public:header"/>

  	<hr><br><br>
  	<table border="1" align="center" width="600">
  		<tr>
  			<th>邮件ID</th>
  			<th>邮件标题</th>
  			<th>邮件日期</th>
  			<th>是否删除</th>
  		</tr>
 <foreach name="malisInfo" item="v">
  		<tr align="center">
  			<td>{$v.ID}</td>
  			<td><a href="__APP__/Show/index/ID/{$v.ID}">{$v.title}</a></td>
  			<td>{$v.times}</td>
  			<td><a href="#" onclick="del({$v.ID})" >删除</a></td>
  		</tr>
 </foreach> 		
  	</table>	
  </body>
</html>